﻿/* Auto created by Excel2CS, Don't Edit it. */

using System;
using System.Reflection;
using System.Collections.Generic;

namespace Config
{
    public class TestTable
    {
        /// <summary>
        /// ID
        /// </summary>
        public int id;
        /// <summary>
        /// 名字文本
        /// </summary>
        public string name;
        /// <summary>
        /// 年龄
        /// </summary>
        public int age;
        /// <summary>
        /// 身高
        /// </summary>
        public float height;
        /// <summary>
        /// 幸运号码
        /// </summary>
        public int[] luckNum;
        /// <summary>
        /// 喜欢的动物
        /// </summary>
        public string[] likeAnim;
        /// <summary>
        /// 是否为中国人
        /// </summary>
        public bool isChinese;
        /// <summary>
        /// 所需食材及数量(食材id-食材数量|食材id-食材数量)
        /// </summary>
        public KeyValuePair<int, int>[] needFood;

        public static Dictionary<int, TestTable> data = new()
    {
{
    1, new TestTable
    {
        id = 1,
        name = "吉姆",
        age = 15,
        height = 168.5f,
        luckNum = new int[]{2,5,7},
        likeAnim = new string[]{"dog","cat"},
        isChinese = false,
        needFood = new KeyValuePair<int, int>[]{new( 1000001, 1 ),new( 1000002, 1 ),new( 2000001, 1 ),new( 2000002, 1 ),new( 2000043, 1 )},
    }
},
{
    2, new TestTable
    {
        id = 2,
        name = "王明",
        age = 12,
        luckNum = new int[]{6,8,9},
        isChinese = true,
    }
},
{
    3, new TestTable
    {
        id = 3,
        name = "李白",
        age = 25,
        height = 180f,
        likeAnim = new string[]{"pig","cow","fox"},
        isChinese = true,
        needFood = new KeyValuePair<int, int>[]{new( 1000004, 1 ),new( 2000005, 1 ),new( 2000046, 1 ),new( 2000047, 2 )},
    }
},
{
    4, new TestTable
    {
        id = 4,
        name = "tt",
        age = 6,
    }
},
    };
    }
}

